<template>
   <el-menu
  :default-active="this.$router.path"
  :router="true"
  class="el-menu-demo"
  mode="horizontal"
  background-color="#FFFFFF"
  text-color="#000000"
  active-text-color="#ffd04b">
  <el-menu-item index="/">
      <el-image
      style="width: 200px; height: 50px"
      src="http://r2e0yk6vw.hn-bkt.clouddn.com/QQ%E5%9B%BE%E7%89%8720211116150605.png"
      :fit="fit"></el-image>
  </el-menu-item>
  <el-menu-item index="/CourseFree">免费课程</el-menu-item>
  <el-menu-item index="/CourseSystem">体系课程</el-menu-item>
  <el-menu-item index="/OnlineEvaluation">在线测评</el-menu-item>
  <el-menu-item index="1">学习社区</el-menu-item>
  <el-menu-item index="1">我的收藏</el-menu-item>
  <el-menu-item index="1" style="float:right">登录/注册</el-menu-item>
</el-menu>
</template>
<style>
.el-header {
    padding: 0px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
</style>